package b4.config
{
	public class LayerItemConfigMazeObj extends LayerItemConfig
	{
		public var objectIndex:int;
		public var objectNum:int;
		
		public function LayerItemConfigMazeObj(itemStrs:Array=null)
		{
			super(itemStrs);
			if (itemStrs != null)
			{
				objectIndex = parseInt(itemStrs[2]);
				objectNum = parseInt(itemStrs[3]);
			}
			else
			{
				objectIndex = 10500;
				objectNum = 1;
			}
		}
		
		override public function serializeExport():String
		{
			var serialStr:String = super.serializeExport();
			serialStr += "," + objectIndex;
			serialStr += "," + objectNum;
			return serialStr;
		}
		
	}
}